<?php


namespace App\Libraries\Express;


class Response
{
    /**
     * @var string 单号
     */
    protected $code = '';

    /**
     * @var string pdf 数据
     */
    protected $response = '';


    /**
     * Response constructor.
     * @param $code
     * @param $response
     */
    public function __construct($code, $response)
    {
        $this->code = $code;
        $this->response = $response;
    }

    /**
     * @return string
     */
    public function getCode(): string
    {
        return $this->code;
    }

    /**
     * @return string
     */
    public function getResponse(): string
    {
        return $this->response;
    }
}
